<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>导入和导出</title>
  </head>
  <body>
    <button id="btnGet">获取数据</button>
    <script type="module">
      import { getList } from "./js/api.js";
      document.querySelector("#btnGet").onclick = () => {
        getList();
      };
    </script>
  </body>
</html>
